/**
 * Some text
 */

/**

*/
package tests.client;

import tests.client.resources.GlobalResources;
import tests.client.view.Footer;
import tests.client.view.FriendList;
import tests.client.view.HeaderPanel;
import tests.client.view.MainPanel;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.user.client.ui.DockLayoutPanel;
import com.google.gwt.user.client.ui.RootLayoutPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class ConnectrStage1_noUIBinder implements EntryPoint {
	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		GlobalResources.INSTANCE.globalStyles().ensureInjected();
		
		DockLayoutPanel main = new DockLayoutPanel(Unit.EM);
		main.addNorth(new HeaderPanel(), 7);
		main.addWest(new FriendList(), 20);
		main.addSouth(new Footer(), 5);
		main.add(new MainPanel());
		RootLayoutPanel.get().add(main);
		
		/*HelloWidgetWorld hello = new HelloWidgetWorld();
		hello.setName("Lê Đức Thiện");
		RootLayoutPanel.get().add(hello);*/
		
		/*HelloWorld hello = new HelloWorld();
		Document.get().getBody().appendChild(hello.getElement());
		hello.setName("Thiện");*/
		
		/*HorizontalPanel hp = new HorizontalPanel();
		RootLayoutPanel.get().add(hp);*/
		
		/*Dock dock = new Dock();
		RootLayoutPanel.get().add(dock);*/
		
		/*MyFoo foo = new MyFoo();
		RootLayoutPanel.get().add(foo);*/
		
		/*Header1 header = new Header1();
		RootLayoutPanel.get().add(header);*/
	}
}
